how to remove white space in the right side of web page

52

html,body {
    margin:0;
    padding:0;
    overflow-x:hidden;
}
//Extenion function
fun String.removeWhitespaces() = replace(" ", "")

// Uses
var str = "This is an example text".removeWhitespaces()

println(str)

Comments

Submit
0 Comments